package drone.facade.model.entity.auth ;

import java.io.Serializable ;

import drone.basis.meta.EntityMeta ;
import drone.basis.meta.FieldMeta ;
import drone.facade.model.entity.BaseEntity ;

@EntityMeta ( name = "操作员资源" , description = "操作员资源" , table = "auth_optscp" , alias = "_auth_optscp" , assign = false , foreign = false , visible = true , order = 1 , version = "1.0" )
public class AuthOptscpEntity extends BaseEntity implements Serializable
{

	private static final long serialVersionUID = 1L ;

	public enum AuthOptscpField
	{

		optNo ( "_auth_optscp.opt_no" ) ,
		scpNo ( "_auth_optscp.scp_no" ),;

		private String name ;

		private AuthOptscpField (
				String name
		)
		{
			this.name = name ;
		}

		public String getName ( )
		{
			return name ;
		}

		public void setName (
				String name
		)
		{
			this.name = name ;
		}
	}

	@FieldMeta ( primary = true , name = "操作员编号" , description = "操作员编号" , column = "opt_no" , require = true , range = true , vague = false , visible = true , length = 32 , order = 1 )
	private String optNo ;

	public String getOptNo ( )
	{
		return optNo ;
	}

	public void setOptNo (
			String optNo
	)
	{
		this.optNo = optNo ;
	}

	@FieldMeta ( primary = true , name = "资源编号" , description = "资源编号" , column = "scp_no" , require = true , range = true , vague = false , visible = true , length = 32 , order = 2 )
	private String scpNo ;

	public String getScpNo ( )
	{
		return scpNo ;
	}

	public void setScpNo (
			String scpNo
	)
	{
		this.scpNo = scpNo ;
	}

}
